package heima3_2.cn.osc.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import java.util.List;

import heima3_2.cn.osc.base.BaseHolder;
import heima3_2.cn.osc.base.MyBaseAdapter;

import heima3_2.cn.osc.hold.ExeriseHotHolder;
import heima3_2.cn.osc.model.bean.EventBean;

/**
 * Created by emily on 2017/1/16.
 */

public class ExerciseHotAdapater extends MyBaseAdapter<EventBean> {
    public ExerciseHotAdapater(Context context, List<EventBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder<EventBean> createViewHolder(Context context, ViewGroup parent, EventBean bean, int position) {
        return new ExeriseHotHolder(context,parent,this,position,bean);
    }


}
